<div class="leftcolumn">
{include file="common/common_admin_leftcolumn.tpl"}
</div>

<div class="maincolumn">
{pp_tipblock title=$CONTENT.vm.title value=$CONTENT.vm.message condition=$CONTENT.vm.show}

{include file="admin/blocks/admin_block_vote_vote_top.tpl"}

{if $CONTENT.mainpart == 'additem'}
{include file="admin/blocks/admin_block_vote_vote_additem.tpl"}

{elseif $CONTENT.mainpart == 'edititem'}
{include file="admin/blocks/admin_block_vote_vote_edititem.tpl"}

{elseif $CONTENT.mainpart == 'deleteitem'}
{include file="admin/blocks/admin_block_vote_vote_additem.tpl"}

{elseif $CONTENT.mainpart == 'detail'}
{include file="admin/blocks/admin_block_vote_vote_detail.tpl"}

{elseif $CONTENT.mainpart == 'listitem'}
{include file="admin/blocks/admin_block_vote_vote_listitem.tpl"}

{elseif $CONTENT.mainpart == 'link'}
{include file="admin/blocks/admin_block_vote_vote_link.tpl"}

{elseif $CONTENT.mainpart == 'call'}
{include file="admin/blocks/admin_block_vote_vote_call.tpl"}

{elseif $CONTENT.mainpart == 'images'}
{include file="admin/blocks/admin_block_vote_vote_images.tpl"}

{elseif $CONTENT.mainpart == 'listimage'}
{include file="admin/blocks/admin_block_vote_vote_listimage.tpl"}

{elseif $CONTENT.mainpart == 'comments'}
{include file="admin/blocks/admin_block_vote_vote_comments.tpl"}

{elseif $CONTENT.mainpart == 'listcomment'}
{include file="admin/blocks/admin_block_vote_vote_listcomment.tpl"}

{elseif $CONTENT.mainpart == 'rate'}
{include file="admin/blocks/admin_block_vote_vote_rate.tpl"}

{elseif $CONTENT.mainpart == 'stats'}
{include file="admin/blocks/admin_block_vote_vote_stats.tpl"}

{else}
{include file="admin/blocks/admin_block_vote_vote_listitem.tpl"}

{include file="admin/blocks/admin_block_vote_vote_action_links.tpl"}

{/if}
</div>